package com.example.novelweb.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 标签映射表
 * @TableName tagmap
 */
@TableName(value ="tagmap")
@Data
public class Tagmap implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * novelId
     */
    private Long novelId;

    /**
     * tagId
     */
    private Long tagId;

    /**
     * 是否删除
     */
    private Integer isDelete;


}